<template>
  <div style="position: fixed;width: 100%;">
    one
  </div>
</template>

<script>
export default {
  created () {
    console.log('created')
  },
  mounted () {
    console.log('mounted')
  },
  destroyed () {
    console.log('销毁')
  },
  activated () {
    console.log('组件激活了')
  },
  deactivated () {
    console.log('组件失活了')
  }
}
</script>

<style>

</style>
